This grunt plugin will build a concat tree for use with grunt's concat task by scanning for require's with snockets.