This doesn't work. It will end up copying the SQL files out of order and fucks em up, resulting in errors and incomplete patching. (might be wrong, but this always happens to me, I compared the merged.sql with a number of the not-merged ones)
That happens only because you didn't order the updates folder by date.
You should always start from the bottom and go up..