The present invention relates to shaping an X-ray beam. In order to provide a facilitated X-ray beam manipulation, a medical X-ray imaging arrangement (10), is provided that comprises an X-ray source (12), an X-ray detector (14), an X-ray beam manipulator device (16), a control unit (18), and a memory unit (20). The X-ray beam manipulator device comprises an adjustable X-ray beam diaphragm (22) provided between the X-ray source and the X-ray detector. The beam diaphragm comprises at least one movable X-ray beam-shaping element (24) and at least one controllable actuator (26) for moving the at least one beam-shaping element according to positioning data (28) provided by the control unit. The memory unit is configured to store positioning data (30) of determined positions of the at least one beam-shaping element for determined attenuation configurations of the diaphragm, and to recall and supply the stored positioning data to the control unit for activating the controllable actuator.