Tweaked imagemin task to build files list dynamically.