Plot has `Attributes` `HoldAll`, so one possibility to get what you expect is to do just
SetOptions[Plot, Evaluated -> True];
at the beginning.
Another possibility (better documented) would be to use `Evaluate` inside `Plot`:
Plot[Evaluate[...], {x, 0, 2}]