This is most clearly answered by considering the (cumulative) distribution function.
Specifying the minimum, maximum and the three quartiles specifies exactly 5 points on the cdf, but the cdf between those points may be any monotonic nondecreasing function in between that still passes through those points:
![enter image description here][1]
In the drawing, both the red and black CDFs share the same minimum, maximum, and quartiles, but are clearly different distributions. Clearly any number of other CDFs could be specified that also pass through the same five points.
The same notion can be applied to sample quantities - two different empirical CDFs may nevertheless have the same five-number summary.
In fact, all we've done is restrict our distribution function to lie within four boxes:
$\qquad$![enter image description here][2]
(as long as it also continues to satisfy the other conditions for a CDF). That isn't all that much of a restriction. [1]: https://i.sstatic.net/khIqh.png [2]: https://i.sstatic.net/qw66I.png