go and grab http://closure-compiler.googlecode.com/files/compiler-latest.zip and then unzip it. launch
java -jar compiler.jar --js $(FULL_CURRENT_PATH) \
--compilation_level ADVANCED_OPTIMIZATIONS \
--js_output_file $(CURRENT_DIRECTORY)\$(NAME_PART)-compiled.js
which creates a new file, which is called currently used, but has -compiled.jsat the end.
akira source
share