title: YUI compressor - compress multiple input files into one output file
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/632725/how-can-i-combine-and-compress-multiple-script-and-css-files-for-production-use">How can I combine and compress multiple script and css files for production use?</a>  </p>
  </blockquote>
  
  
  
  <p>I would like to compress multiple javascript files into one minified file. I'm using <a href="http://developer.yahoo.com/yui/compressor/" rel="nofollow noreferrer">YUI Compressor</a>. On their page it says that it can do it like so (their example uses css files but I replaced it with js):</p>
  
  <pre><code>java -jar yuicompressor.jar -o '.js$:-min.js' *.js 
  </code></pre>
  
  <p>When I try to execute this I get an empty file named <code>.js$</code></p>
  
  <p>What am I missing?</p>