Assuming the agent doesn't forget or misinterpret anything.
It would be much better to just have a deterministic minification script.