We introduce a new compactness principle which we call the gluing property. For a measurable cardinal I^º and a cardinal I^», we say that I^º has the I^»-gluing property if every sequence of I^»-many I^º-complete ultrafilters on I^º can be glued into a I^º-complete extender. We show that every I^º-compact cardinal has the 2I^º-gluing property, yet non-necessarily the (2I^º)+-gluing property. Finally, we compute the exact consistency-strength for I^º to have the I¨-gluing property; this being o(I^º)=I¨1.