Grunt build task optimization