merge minified query from master