Grunt task replaces references to non-optimized scripts with references to grunt-requirejs optimized files.