Import scripts and stylesheets paths from HTML files into your Gruntfile. You can update an existing Grunt task like Uglify, mincss, etc. or just concatenate those imported files.