 
 		usemin:
 			html: 'build/<%= relativePath %>/index.html'
+
+		uglify:
+			dist:
+				files:
+					'build/js/vtex-i18n.min.js': ['build/js/vtex-i18n.js']
+					'build/js/vtex-locale-selector.min.js': ['build/js/vtex-locale-selector.js']
 
 		karma:
 			options:

	# TDD
	grunt.registerTask 'tdd', ['dev', 'connect', 'remote', 'karma:unit', 'watch:test']

	# Generates version folder
	grunt.registerTask 'gen-version', ->
		grunt.log.writeln 'Deploying to environmentName: '.cyan + grunt.config('environmentName').green

				src: ['**']
				dest: '<%= deployDirectory %>/<%= versionName() %>/'

			dist:
				expand: true
				flatten: true
				cwd: 'build/<%= relativePath %>/'
				src: [
					'js/vtex-i18n.js', 'js/vtex-i18n.min.js', 
					'js/vtex-locale-selector.js', 'js/vtex-locale-selector.min.js'
				]
				dest: 'dist/'

		coffee:
			main:
				expand: true
