It's suggested to use Google Closure Compiler for Javascript minification because it's more powerful, YUICompressor has some issues minifiying certain Javascript, and YUICompressor is no longer being maintained wheras Google Closure Compiler is.