title: Gulp-uglify combine multiple javascript files into a single javascript file
body: <p>I'm searching for <strong><em>Gulp task</em></strong> that can take multiple javascript files into a single javascript file and compress to one file, like <strong>grunt-contrib-uglify</strong>.</p>
  
  <p>This what I tried to do so for to simulate grunt-contrib-uglify:    </p>
  
  <pre><code>gulp.task('compressJS', function ()
  {
      return gulp.src(SomeJSArrayWithALotOfFiles)
          .pipe(concat('application.js'))
          .pipe(rename({suffix: '.min'}))
          .pipe(uglify())
          .pipe(gulp.dest('../application'))
  }
  </code></pre>
  
  <p><strong>My problem</strong> with this solution:<br>
  I need manually delete the file (application.js.min) before I run the task, otherwise every task execution the new files concatenate to old compressed file (because this line: <code>.pipe(concat('application.js')</code>)).      </p>