Fix yui compression (fix #1035)